package com.emser.unc.server.domain;

import java.util.ArrayList;
import java.util.List;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = "true")
public class SellerCustomers {
	@PrimaryKey
	private Key key;
	@Persistent
	private List<Long> idCustomers = new ArrayList<Long>();
	@Persistent
	private String sellerKey;
	
	public Key getKey() {
		return key;
	}
	public SellerCustomers(Key key,String sellerKey) {
		this.key= key;
		this.setSellerKey(sellerKey);
	}
	
	public void setIdCustomers(List<Long> idCustomers) {
		this.idCustomers = idCustomers;
	}

	public List<Long> getIdCustomers() {
		return idCustomers;
	}
	public void setSellerKey(String sellerKey) {
		this.sellerKey = sellerKey;
	}
	public String getSellerKey() {
		return sellerKey;
	}

}
